import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/Index'
import RegMemberShip from '@/pages/RegMemberShip'
import Reg from '@/pages/Reg'
import Login from '@/pages/Login'
import ForgetPw from '@/pages/ForgetPw'
import FilePreview from '@/pages/FilePreview'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/reg/ship',
      name: 'RegMemberShip',
      component: RegMemberShip
    },
    {
      path: '/reg',
      name: 'Reg',
      component: Reg
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/forgetpw',
      name: 'ForgetPw',
      component: ForgetPw
    }, 
    {
      path: '/fv',
      name: 'FilePreview',
      component: FilePreview
    }
  ]
})
